package cn.kgc.pojo.train;

import java.util.Date;

/**
 * 火车类
 */
public class Train {
    private Short id;//火车编号

    private String trainmemo;//火车信息备注

    private String tno;//车次号

    private String tdepartur;//出发地

    private String tdestination;//目的地

    private Date tgotime;//出发时间

    private Date tarrivaltime;//到达时间

    private Short ttraintype;//火车类型（K或T或G）

    private Short seatnumber;//座位数

    public Short getId() {
        return id;
    }

    public void setId(Short id) {
        this.id = id;
    }

    public String getTrainmemo() {
        return trainmemo;
    }

    public void setTrainmemo(String trainmemo) {
        this.trainmemo = trainmemo == null ? null : trainmemo.trim();
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno == null ? null : tno.trim();
    }

    public String getTdepartur() {
        return tdepartur;
    }

    public void setTdepartur(String tdepartur) {
        this.tdepartur = tdepartur == null ? null : tdepartur.trim();
    }

    public String getTdestination() {
        return tdestination;
    }

    public void setTdestination(String tdestination) {
        this.tdestination = tdestination == null ? null : tdestination.trim();
    }

    public Date getTgotime() {
        return tgotime;
    }

    public void setTgotime(Date tgotime) {
        this.tgotime = tgotime;
    }

    public Date getTarrivaltime() {
        return tarrivaltime;
    }

    public void setTarrivaltime(Date tarrivaltime) {
        this.tarrivaltime = tarrivaltime;
    }

    public Short getTtraintype() {
        return ttraintype;
    }

    public void setTtraintype(Short ttraintype) {
        this.ttraintype = ttraintype;
    }

    public Short getSeatnumber() {
        return seatnumber;
    }

    public void setSeatnumber(Short seatnumber) {
        this.seatnumber = seatnumber;
    }
}